
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'search.jsp' starting page</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	
	<style type="text/css">
		*{padding: 0px;margin: 0px;}
	#father{width: 1024px; border: 0px; margin: 0px auto;overflow: hidden;}
	#father dl{ float: left;margin: 10px;border: 1px solid #ccc;width: 224px;height: 280px;}
	dl a{color: black;text-decoration: none;}
	dt img{width: 222px;height: 222px;}
	dd{text-align: center;}
	#empty{padding: 0px 0px 5% 15%;background-color: #f7f7f7;}
	
	</style>

  </head>
  
  <body>

     <#include  "header.ftl">
     
     

  
  
  
  <#if listgoods??>
    <div id=father>
    	
    		<#list listgoods as goods >
    		<dl>
    			<dt><a href="good/det?id=${goods.getId()}"><img src="${path}/img/detail/${goods.getImg1()}"/></a></dt>
    			<dd><a href="good/det?id=${goods.getId()}">${goods.getName()}</a></dd>
    			<dd><a href="good/det?id=${goods.getId()}">${goods.getPrice()}元</a></dd>
    		</dl>
    		</#list>
    		</div>
   						
					<div style="position:relative;left:500px;">
                    <span>总页数:${total}页</span>
                    <span>当前第${previous}页</span>
                    <span ><a href="/good/fuzzy?goods=${www}&pageNos=1">[首页]</a>
					 <a href="/good/fuzzy?goods=${www}&pageNos=${previous}">[上一页]</a>
					 <a href="/good/fuzzy?goods=${www}&pageNos=${next}">[下一页]</a>
					 <a href="/good/fuzzy?goods=${www}&pageNos=${total}">[尾页]</a></span>
					 </div>
					
    		 <#include  "footer.ftl">
    	
    
   <#else>
 	<div id="empty"><img src="${request.Context}/img/search.png"/></div>
  </#if>
    
  </body>
</html>
